#pragma once

#include <QtWidgets/QToolBar>
#include <QtWidgets/QPushButton>

class Toolbar :
    public QToolBar
{
    Q_OBJECT
public:
    Toolbar(QWidget* parent = nullptr);
    void createToolBar();
    void connectSignals();
signals:
    void newClicked();
    void openClicked();
    void saveClicked();
    void triangleClicked();
    void cubeClicked();
private slots:
    void onNewClicked();
    void onOpenClicked();
    void onSaveClicked();
    void onTriangleClicked();
    void onCubeClicked();
private:
    QPushButton* btnNew;
    QPushButton* btnOpen;
    QPushButton* btnSave;
    QPushButton* btnTriangle;
    QPushButton* btnCube;
    QPushButton* btnCircle;
};

